package com.wrx.server.pojo;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PageBean对象", description="")
public class PageBean {


    private int pageNum;
    private int pageSize;
    private int state;
    private int num1; //通用变量

    public  PageBean(){
    }

    public PageBean(int pageNum) {
        this.pageNum = pageNum;
    }

    public PageBean(int pageNum, int pageSize) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public PageBean(int pageNum, int pageSize, int state) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.state = state;
    }

    public PageBean(int pageNum, int pageSize, int state, int num1) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.state = state;
        this.num1 = num1;
    }

    public int getNum1() {
        return num1;
    }

    public void setNum1(int num1) {
        this.num1 = num1;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
